<?php
// Filename: pam/view/pam/socialpolicy/view.phtml
$title = 'Research Reports';
$this->headTitle($title);
?>

<h1><?php echo $this->escapeHtml($title); ?></h1>

<p>
    <a href="<?php echo $this->url('research', array('action' => 'print')); ?>">Print research report - None functional</a>
</p>
<p>
    <a href="<?php echo $this->url('research', array('action' => 'add')); ?>">Add new research</a>
</p>

<table class="table">
    <tr>
        <th>Title</th>
        <th>Date</th>
        <th>&nbsp;</th>
    </tr>
    <?php foreach ($research as $rs) : ?>
        <tr>
            <td><?php echo $this->escapeHtml($rs->research_title); ?></td>
            <td><?php echo $this->escapeHtml($rs->research_date); ?></td>
            <td>
                <a href="<?php echo $this->url('research', array('action' => 'edit', 'id' => $rs->id));
        ?>">Edit</a>
                <a href="<?php echo $this->url('research', array('action' => 'delete', 'id' => $rs->id));
        ?>">Delete</a>
            </td>
        </tr>
    <?php endforeach; ?>
</table>

